package com.atguigu.day03.homework;

public class HomeWork2 {
    public static void main(String[] args) {
        int x,y,z;
        x = 24;
        y = 54;
        z = 22;
        int max = (x > y) ? x : y;
        max = max > z ? max : z;
        System.out.println("x,y,z中的最大值 = " + max);
    }
}
